package com.desksoft.ecommerce.entity.logistics.dto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BrandExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BrandExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBrandidIsNull() {
            addCriterion("BrandID is null");
            return (Criteria) this;
        }

        public Criteria andBrandidIsNotNull() {
            addCriterion("BrandID is not null");
            return (Criteria) this;
        }

        public Criteria andBrandidEqualTo(String value) {
            addCriterion("BrandID =", value, "brandid");
            return (Criteria) this;
        }

        public Criteria andBrandidNotEqualTo(String value) {
            addCriterion("BrandID <>", value, "brandid");
            return (Criteria) this;
        }

        public Criteria andBrandidGreaterThan(String value) {
            addCriterion("BrandID >", value, "brandid");
            return (Criteria) this;
        }

        public Criteria andBrandidGreaterThanOrEqualTo(String value) {
            addCriterion("BrandID >=", value, "brandid");
            return (Criteria) this;
        }

        public Criteria andBrandidLessThan(String value) {
            addCriterion("BrandID <", value, "brandid");
            return (Criteria) this;
        }

        public Criteria andBrandidLessThanOrEqualTo(String value) {
            addCriterion("BrandID <=", value, "brandid");
            return (Criteria) this;
        }

        public Criteria andBrandidLike(String value) {
            addCriterion("BrandID like", value, "brandid");
            return (Criteria) this;
        }

        public Criteria andBrandidNotLike(String value) {
            addCriterion("BrandID not like", value, "brandid");
            return (Criteria) this;
        }

        public Criteria andBrandidIn(List<String> values) {
            addCriterion("BrandID in", values, "brandid");
            return (Criteria) this;
        }

        public Criteria andBrandidNotIn(List<String> values) {
            addCriterion("BrandID not in", values, "brandid");
            return (Criteria) this;
        }

        public Criteria andBrandidBetween(String value1, String value2) {
            addCriterion("BrandID between", value1, value2, "brandid");
            return (Criteria) this;
        }

        public Criteria andBrandidNotBetween(String value1, String value2) {
            addCriterion("BrandID not between", value1, value2, "brandid");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserID is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserID is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("UserID =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("UserID <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("UserID >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("UserID >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("UserID <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("UserID <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("UserID like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("UserID not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("UserID in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("UserID not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("UserID between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("UserID not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andBrandIsNull() {
            addCriterion("Brand is null");
            return (Criteria) this;
        }

        public Criteria andBrandIsNotNull() {
            addCriterion("Brand is not null");
            return (Criteria) this;
        }

        public Criteria andBrandEqualTo(String value) {
            addCriterion("Brand =", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotEqualTo(String value) {
            addCriterion("Brand <>", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThan(String value) {
            addCriterion("Brand >", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThanOrEqualTo(String value) {
            addCriterion("Brand >=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThan(String value) {
            addCriterion("Brand <", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThanOrEqualTo(String value) {
            addCriterion("Brand <=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLike(String value) {
            addCriterion("Brand like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotLike(String value) {
            addCriterion("Brand not like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandIn(List<String> values) {
            addCriterion("Brand in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotIn(List<String> values) {
            addCriterion("Brand not in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandBetween(String value1, String value2) {
            addCriterion("Brand between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotBetween(String value1, String value2) {
            addCriterion("Brand not between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andRecommendIsNull() {
            addCriterion("Recommend is null");
            return (Criteria) this;
        }

        public Criteria andRecommendIsNotNull() {
            addCriterion("Recommend is not null");
            return (Criteria) this;
        }

        public Criteria andRecommendEqualTo(String value) {
            addCriterion("Recommend =", value, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendNotEqualTo(String value) {
            addCriterion("Recommend <>", value, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendGreaterThan(String value) {
            addCriterion("Recommend >", value, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendGreaterThanOrEqualTo(String value) {
            addCriterion("Recommend >=", value, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendLessThan(String value) {
            addCriterion("Recommend <", value, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendLessThanOrEqualTo(String value) {
            addCriterion("Recommend <=", value, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendLike(String value) {
            addCriterion("Recommend like", value, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendNotLike(String value) {
            addCriterion("Recommend not like", value, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendIn(List<String> values) {
            addCriterion("Recommend in", values, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendNotIn(List<String> values) {
            addCriterion("Recommend not in", values, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendBetween(String value1, String value2) {
            addCriterion("Recommend between", value1, value2, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendNotBetween(String value1, String value2) {
            addCriterion("Recommend not between", value1, value2, "recommend");
            return (Criteria) this;
        }

        public Criteria andBrandlogIsNull() {
            addCriterion("BrandLog is null");
            return (Criteria) this;
        }

        public Criteria andBrandlogIsNotNull() {
            addCriterion("BrandLog is not null");
            return (Criteria) this;
        }

        public Criteria andBrandlogEqualTo(String value) {
            addCriterion("BrandLog =", value, "brandlog");
            return (Criteria) this;
        }

        public Criteria andBrandlogNotEqualTo(String value) {
            addCriterion("BrandLog <>", value, "brandlog");
            return (Criteria) this;
        }

        public Criteria andBrandlogGreaterThan(String value) {
            addCriterion("BrandLog >", value, "brandlog");
            return (Criteria) this;
        }

        public Criteria andBrandlogGreaterThanOrEqualTo(String value) {
            addCriterion("BrandLog >=", value, "brandlog");
            return (Criteria) this;
        }

        public Criteria andBrandlogLessThan(String value) {
            addCriterion("BrandLog <", value, "brandlog");
            return (Criteria) this;
        }

        public Criteria andBrandlogLessThanOrEqualTo(String value) {
            addCriterion("BrandLog <=", value, "brandlog");
            return (Criteria) this;
        }

        public Criteria andBrandlogLike(String value) {
            addCriterion("BrandLog like", value, "brandlog");
            return (Criteria) this;
        }

        public Criteria andBrandlogNotLike(String value) {
            addCriterion("BrandLog not like", value, "brandlog");
            return (Criteria) this;
        }

        public Criteria andBrandlogIn(List<String> values) {
            addCriterion("BrandLog in", values, "brandlog");
            return (Criteria) this;
        }

        public Criteria andBrandlogNotIn(List<String> values) {
            addCriterion("BrandLog not in", values, "brandlog");
            return (Criteria) this;
        }

        public Criteria andBrandlogBetween(String value1, String value2) {
            addCriterion("BrandLog between", value1, value2, "brandlog");
            return (Criteria) this;
        }

        public Criteria andBrandlogNotBetween(String value1, String value2) {
            addCriterion("BrandLog not between", value1, value2, "brandlog");
            return (Criteria) this;
        }

        public Criteria andBrandlog2IsNull() {
            addCriterion("BrandLog2 is null");
            return (Criteria) this;
        }

        public Criteria andBrandlog2IsNotNull() {
            addCriterion("BrandLog2 is not null");
            return (Criteria) this;
        }

        public Criteria andBrandlog2EqualTo(String value) {
            addCriterion("BrandLog2 =", value, "brandlog2");
            return (Criteria) this;
        }

        public Criteria andBrandlog2NotEqualTo(String value) {
            addCriterion("BrandLog2 <>", value, "brandlog2");
            return (Criteria) this;
        }

        public Criteria andBrandlog2GreaterThan(String value) {
            addCriterion("BrandLog2 >", value, "brandlog2");
            return (Criteria) this;
        }

        public Criteria andBrandlog2GreaterThanOrEqualTo(String value) {
            addCriterion("BrandLog2 >=", value, "brandlog2");
            return (Criteria) this;
        }

        public Criteria andBrandlog2LessThan(String value) {
            addCriterion("BrandLog2 <", value, "brandlog2");
            return (Criteria) this;
        }

        public Criteria andBrandlog2LessThanOrEqualTo(String value) {
            addCriterion("BrandLog2 <=", value, "brandlog2");
            return (Criteria) this;
        }

        public Criteria andBrandlog2Like(String value) {
            addCriterion("BrandLog2 like", value, "brandlog2");
            return (Criteria) this;
        }

        public Criteria andBrandlog2NotLike(String value) {
            addCriterion("BrandLog2 not like", value, "brandlog2");
            return (Criteria) this;
        }

        public Criteria andBrandlog2In(List<String> values) {
            addCriterion("BrandLog2 in", values, "brandlog2");
            return (Criteria) this;
        }

        public Criteria andBrandlog2NotIn(List<String> values) {
            addCriterion("BrandLog2 not in", values, "brandlog2");
            return (Criteria) this;
        }

        public Criteria andBrandlog2Between(String value1, String value2) {
            addCriterion("BrandLog2 between", value1, value2, "brandlog2");
            return (Criteria) this;
        }

        public Criteria andBrandlog2NotBetween(String value1, String value2) {
            addCriterion("BrandLog2 not between", value1, value2, "brandlog2");
            return (Criteria) this;
        }

        public Criteria andIsviewIsNull() {
            addCriterion("IsView is null");
            return (Criteria) this;
        }

        public Criteria andIsviewIsNotNull() {
            addCriterion("IsView is not null");
            return (Criteria) this;
        }

        public Criteria andIsviewEqualTo(String value) {
            addCriterion("IsView =", value, "isview");
            return (Criteria) this;
        }

        public Criteria andIsviewNotEqualTo(String value) {
            addCriterion("IsView <>", value, "isview");
            return (Criteria) this;
        }

        public Criteria andIsviewGreaterThan(String value) {
            addCriterion("IsView >", value, "isview");
            return (Criteria) this;
        }

        public Criteria andIsviewGreaterThanOrEqualTo(String value) {
            addCriterion("IsView >=", value, "isview");
            return (Criteria) this;
        }

        public Criteria andIsviewLessThan(String value) {
            addCriterion("IsView <", value, "isview");
            return (Criteria) this;
        }

        public Criteria andIsviewLessThanOrEqualTo(String value) {
            addCriterion("IsView <=", value, "isview");
            return (Criteria) this;
        }

        public Criteria andIsviewLike(String value) {
            addCriterion("IsView like", value, "isview");
            return (Criteria) this;
        }

        public Criteria andIsviewNotLike(String value) {
            addCriterion("IsView not like", value, "isview");
            return (Criteria) this;
        }

        public Criteria andIsviewIn(List<String> values) {
            addCriterion("IsView in", values, "isview");
            return (Criteria) this;
        }

        public Criteria andIsviewNotIn(List<String> values) {
            addCriterion("IsView not in", values, "isview");
            return (Criteria) this;
        }

        public Criteria andIsviewBetween(String value1, String value2) {
            addCriterion("IsView between", value1, value2, "isview");
            return (Criteria) this;
        }

        public Criteria andIsviewNotBetween(String value1, String value2) {
            addCriterion("IsView not between", value1, value2, "isview");
            return (Criteria) this;
        }

        public Criteria andFontIsNull() {
            addCriterion("Font is null");
            return (Criteria) this;
        }

        public Criteria andFontIsNotNull() {
            addCriterion("Font is not null");
            return (Criteria) this;
        }

        public Criteria andFontEqualTo(Integer value) {
            addCriterion("Font =", value, "font");
            return (Criteria) this;
        }

        public Criteria andFontNotEqualTo(Integer value) {
            addCriterion("Font <>", value, "font");
            return (Criteria) this;
        }

        public Criteria andFontGreaterThan(Integer value) {
            addCriterion("Font >", value, "font");
            return (Criteria) this;
        }

        public Criteria andFontGreaterThanOrEqualTo(Integer value) {
            addCriterion("Font >=", value, "font");
            return (Criteria) this;
        }

        public Criteria andFontLessThan(Integer value) {
            addCriterion("Font <", value, "font");
            return (Criteria) this;
        }

        public Criteria andFontLessThanOrEqualTo(Integer value) {
            addCriterion("Font <=", value, "font");
            return (Criteria) this;
        }

        public Criteria andFontIn(List<Integer> values) {
            addCriterion("Font in", values, "font");
            return (Criteria) this;
        }

        public Criteria andFontNotIn(List<Integer> values) {
            addCriterion("Font not in", values, "font");
            return (Criteria) this;
        }

        public Criteria andFontBetween(Integer value1, Integer value2) {
            addCriterion("Font between", value1, value2, "font");
            return (Criteria) this;
        }

        public Criteria andFontNotBetween(Integer value1, Integer value2) {
            addCriterion("Font not between", value1, value2, "font");
            return (Criteria) this;
        }

        public Criteria andFontcolorIsNull() {
            addCriterion("FontColor is null");
            return (Criteria) this;
        }

        public Criteria andFontcolorIsNotNull() {
            addCriterion("FontColor is not null");
            return (Criteria) this;
        }

        public Criteria andFontcolorEqualTo(String value) {
            addCriterion("FontColor =", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorNotEqualTo(String value) {
            addCriterion("FontColor <>", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorGreaterThan(String value) {
            addCriterion("FontColor >", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorGreaterThanOrEqualTo(String value) {
            addCriterion("FontColor >=", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorLessThan(String value) {
            addCriterion("FontColor <", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorLessThanOrEqualTo(String value) {
            addCriterion("FontColor <=", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorLike(String value) {
            addCriterion("FontColor like", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorNotLike(String value) {
            addCriterion("FontColor not like", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorIn(List<String> values) {
            addCriterion("FontColor in", values, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorNotIn(List<String> values) {
            addCriterion("FontColor not in", values, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorBetween(String value1, String value2) {
            addCriterion("FontColor between", value1, value2, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorNotBetween(String value1, String value2) {
            addCriterion("FontColor not between", value1, value2, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andBoldIsNull() {
            addCriterion("Bold is null");
            return (Criteria) this;
        }

        public Criteria andBoldIsNotNull() {
            addCriterion("Bold is not null");
            return (Criteria) this;
        }

        public Criteria andBoldEqualTo(Integer value) {
            addCriterion("Bold =", value, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldNotEqualTo(Integer value) {
            addCriterion("Bold <>", value, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldGreaterThan(Integer value) {
            addCriterion("Bold >", value, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldGreaterThanOrEqualTo(Integer value) {
            addCriterion("Bold >=", value, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldLessThan(Integer value) {
            addCriterion("Bold <", value, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldLessThanOrEqualTo(Integer value) {
            addCriterion("Bold <=", value, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldIn(List<Integer> values) {
            addCriterion("Bold in", values, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldNotIn(List<Integer> values) {
            addCriterion("Bold not in", values, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldBetween(Integer value1, Integer value2) {
            addCriterion("Bold between", value1, value2, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldNotBetween(Integer value1, Integer value2) {
            addCriterion("Bold not between", value1, value2, "bold");
            return (Criteria) this;
        }

        public Criteria andListorderIsNull() {
            addCriterion("ListOrder is null");
            return (Criteria) this;
        }

        public Criteria andListorderIsNotNull() {
            addCriterion("ListOrder is not null");
            return (Criteria) this;
        }

        public Criteria andListorderEqualTo(Integer value) {
            addCriterion("ListOrder =", value, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderNotEqualTo(Integer value) {
            addCriterion("ListOrder <>", value, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderGreaterThan(Integer value) {
            addCriterion("ListOrder >", value, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderGreaterThanOrEqualTo(Integer value) {
            addCriterion("ListOrder >=", value, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderLessThan(Integer value) {
            addCriterion("ListOrder <", value, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderLessThanOrEqualTo(Integer value) {
            addCriterion("ListOrder <=", value, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderIn(List<Integer> values) {
            addCriterion("ListOrder in", values, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderNotIn(List<Integer> values) {
            addCriterion("ListOrder not in", values, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderBetween(Integer value1, Integer value2) {
            addCriterion("ListOrder between", value1, value2, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderNotBetween(Integer value1, Integer value2) {
            addCriterion("ListOrder not between", value1, value2, "listorder");
            return (Criteria) this;
        }

        public Criteria andNewupdateIsNull() {
            addCriterion("NewUpdate is null");
            return (Criteria) this;
        }

        public Criteria andNewupdateIsNotNull() {
            addCriterion("NewUpdate is not null");
            return (Criteria) this;
        }

        public Criteria andNewupdateEqualTo(Date value) {
            addCriterion("NewUpdate =", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateNotEqualTo(Date value) {
            addCriterion("NewUpdate <>", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateGreaterThan(Date value) {
            addCriterion("NewUpdate >", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateGreaterThanOrEqualTo(Date value) {
            addCriterion("NewUpdate >=", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateLessThan(Date value) {
            addCriterion("NewUpdate <", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateLessThanOrEqualTo(Date value) {
            addCriterion("NewUpdate <=", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateIn(List<Date> values) {
            addCriterion("NewUpdate in", values, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateNotIn(List<Date> values) {
            addCriterion("NewUpdate not in", values, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateBetween(Date value1, Date value2) {
            addCriterion("NewUpdate between", value1, value2, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateNotBetween(Date value1, Date value2) {
            addCriterion("NewUpdate not between", value1, value2, "newupdate");
            return (Criteria) this;
        }

        public Criteria andUpdatemanIsNull() {
            addCriterion("UpdateMan is null");
            return (Criteria) this;
        }

        public Criteria andUpdatemanIsNotNull() {
            addCriterion("UpdateMan is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatemanEqualTo(String value) {
            addCriterion("UpdateMan =", value, "updateman");
            return (Criteria) this;
        }

        public Criteria andUpdatemanNotEqualTo(String value) {
            addCriterion("UpdateMan <>", value, "updateman");
            return (Criteria) this;
        }

        public Criteria andUpdatemanGreaterThan(String value) {
            addCriterion("UpdateMan >", value, "updateman");
            return (Criteria) this;
        }

        public Criteria andUpdatemanGreaterThanOrEqualTo(String value) {
            addCriterion("UpdateMan >=", value, "updateman");
            return (Criteria) this;
        }

        public Criteria andUpdatemanLessThan(String value) {
            addCriterion("UpdateMan <", value, "updateman");
            return (Criteria) this;
        }

        public Criteria andUpdatemanLessThanOrEqualTo(String value) {
            addCriterion("UpdateMan <=", value, "updateman");
            return (Criteria) this;
        }

        public Criteria andUpdatemanLike(String value) {
            addCriterion("UpdateMan like", value, "updateman");
            return (Criteria) this;
        }

        public Criteria andUpdatemanNotLike(String value) {
            addCriterion("UpdateMan not like", value, "updateman");
            return (Criteria) this;
        }

        public Criteria andUpdatemanIn(List<String> values) {
            addCriterion("UpdateMan in", values, "updateman");
            return (Criteria) this;
        }

        public Criteria andUpdatemanNotIn(List<String> values) {
            addCriterion("UpdateMan not in", values, "updateman");
            return (Criteria) this;
        }

        public Criteria andUpdatemanBetween(String value1, String value2) {
            addCriterion("UpdateMan between", value1, value2, "updateman");
            return (Criteria) this;
        }

        public Criteria andUpdatemanNotBetween(String value1, String value2) {
            addCriterion("UpdateMan not between", value1, value2, "updateman");
            return (Criteria) this;
        }

        public Criteria andPycodeIsNull() {
            addCriterion("PYCode is null");
            return (Criteria) this;
        }

        public Criteria andPycodeIsNotNull() {
            addCriterion("PYCode is not null");
            return (Criteria) this;
        }

        public Criteria andPycodeEqualTo(String value) {
            addCriterion("PYCode =", value, "pycode");
            return (Criteria) this;
        }

        public Criteria andPycodeNotEqualTo(String value) {
            addCriterion("PYCode <>", value, "pycode");
            return (Criteria) this;
        }

        public Criteria andPycodeGreaterThan(String value) {
            addCriterion("PYCode >", value, "pycode");
            return (Criteria) this;
        }

        public Criteria andPycodeGreaterThanOrEqualTo(String value) {
            addCriterion("PYCode >=", value, "pycode");
            return (Criteria) this;
        }

        public Criteria andPycodeLessThan(String value) {
            addCriterion("PYCode <", value, "pycode");
            return (Criteria) this;
        }

        public Criteria andPycodeLessThanOrEqualTo(String value) {
            addCriterion("PYCode <=", value, "pycode");
            return (Criteria) this;
        }

        public Criteria andPycodeLike(String value) {
            addCriterion("PYCode like", value, "pycode");
            return (Criteria) this;
        }

        public Criteria andPycodeNotLike(String value) {
            addCriterion("PYCode not like", value, "pycode");
            return (Criteria) this;
        }

        public Criteria andPycodeIn(List<String> values) {
            addCriterion("PYCode in", values, "pycode");
            return (Criteria) this;
        }

        public Criteria andPycodeNotIn(List<String> values) {
            addCriterion("PYCode not in", values, "pycode");
            return (Criteria) this;
        }

        public Criteria andPycodeBetween(String value1, String value2) {
            addCriterion("PYCode between", value1, value2, "pycode");
            return (Criteria) this;
        }

        public Criteria andPycodeNotBetween(String value1, String value2) {
            addCriterion("PYCode not between", value1, value2, "pycode");
            return (Criteria) this;
        }

        public Criteria andFirstpyIsNull() {
            addCriterion("FirstPY is null");
            return (Criteria) this;
        }

        public Criteria andFirstpyIsNotNull() {
            addCriterion("FirstPY is not null");
            return (Criteria) this;
        }

        public Criteria andFirstpyEqualTo(String value) {
            addCriterion("FirstPY =", value, "firstpy");
            return (Criteria) this;
        }

        public Criteria andFirstpyNotEqualTo(String value) {
            addCriterion("FirstPY <>", value, "firstpy");
            return (Criteria) this;
        }

        public Criteria andFirstpyGreaterThan(String value) {
            addCriterion("FirstPY >", value, "firstpy");
            return (Criteria) this;
        }

        public Criteria andFirstpyGreaterThanOrEqualTo(String value) {
            addCriterion("FirstPY >=", value, "firstpy");
            return (Criteria) this;
        }

        public Criteria andFirstpyLessThan(String value) {
            addCriterion("FirstPY <", value, "firstpy");
            return (Criteria) this;
        }

        public Criteria andFirstpyLessThanOrEqualTo(String value) {
            addCriterion("FirstPY <=", value, "firstpy");
            return (Criteria) this;
        }

        public Criteria andFirstpyLike(String value) {
            addCriterion("FirstPY like", value, "firstpy");
            return (Criteria) this;
        }

        public Criteria andFirstpyNotLike(String value) {
            addCriterion("FirstPY not like", value, "firstpy");
            return (Criteria) this;
        }

        public Criteria andFirstpyIn(List<String> values) {
            addCriterion("FirstPY in", values, "firstpy");
            return (Criteria) this;
        }

        public Criteria andFirstpyNotIn(List<String> values) {
            addCriterion("FirstPY not in", values, "firstpy");
            return (Criteria) this;
        }

        public Criteria andFirstpyBetween(String value1, String value2) {
            addCriterion("FirstPY between", value1, value2, "firstpy");
            return (Criteria) this;
        }

        public Criteria andFirstpyNotBetween(String value1, String value2) {
            addCriterion("FirstPY not between", value1, value2, "firstpy");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}